package com.lc.stock.module.stockholdernum.domain;

import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

/**
 * @author lichen
 * @description 各季度股东数量（每季度必须公布）
 * @menu
 * @date 2023/2/3 16:00
 */
@Document(collection = "stockholder_num")
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class StockholderNum implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    private String _id;
    @Indexed
    private String stockCode; //股票代码
    private List<StockholderNumDetails> stockholderNumList;//股东户数信息

}
